//
//  CellBean.h
//  iiecg
//
//  Created by Shanlin on 2017/3/2.
//  Copyright © 2017年 Boundary Technology. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,CellType) {
    CellTypeTitle,/*标题类型*/
    CellTypeContent,/*内容类型*/
    CellTypeText,/*文本类型*/
    CellTypeProgress,/*进度条类型*/
    CellTypeButton,/*按钮类型*/
    CellTypeHeartRateProgress,/*心率进度条类型*/
    CellTypeBreatheRateProgress,/*呼吸率进度条类型*/
    CellTypeContentV2,
    CellTypeResult,/*结果类型*/
    
    CellTypeInterval=99999 /*间隔*/

};

@interface CellBean : NSObject
@property (nonatomic,assign) CellType cellType;//
@property (nonatomic,assign) CGFloat cellHeight;//
@property (nonatomic,strong)id object;//

- (CGFloat) heightForString:(NSString *)value fontSize:(CGFloat)fontSize andWidth:(CGFloat)width;
- (CGFloat) widthForString:(NSString *)value fontSize:(CGFloat)fontSize;

@end

